﻿//ISignService.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Algo.Licensing
{
	using System.ServiceModel;

	/// <summary>
	/// Интерфейс к сервису цифровой подписи.
	/// </summary>
	[ServiceContract(Namespace = "http://stocksharp.com/services/signserver.svc")]
	public interface ISignService
	{
		/// <summary>
		/// Подписать исполняемый файл.
		/// </summary>
		/// <param name="fileBody">Файл.</param>
		/// <returns>Файл с цифровой подписью.</returns>
		[OperationContract]
		byte[] SignExecutableFile(byte[] fileBody);
	}
}